package org.springblade.modules.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * @author: Sharry
 * @createTime: 2025-06-16 19:25
 * @version: Version-1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PartsShopUnitVO extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一编码
	 */
	@ApiModelProperty(value = "唯一编码")
	private Integer code;

	/**
	 * 单位类型
	 */
	@ApiModelProperty(value = "单位类型")
	@NotNull(message = "单位类型不能为空")
	private String unitType;

	/**
	 * 中文名称
	 */
	@ApiModelProperty(value = "中文名称")
	@NotNull(message = "中文名称不能为空")
	private String name;

	/**
	 * 单位名称
	 */
	@ApiModelProperty(value = "单位名称")
	@NotNull(message = "单位名称不能为空")
	private String unitName;

	/**
	 * 创建人名称
	 */
	@ApiModelProperty(value = "创建人名称")
	private String createUsername;
}
